cluster.name: myapp_cluster
node.name: "{{ ansible_hostname }}"
network.host: "{{ ansible_default_ipv4.address }}"
http.port: 9200
discovery.seed_hosts: [{% for host in groups['ecs_elasticsearch'] %}"{{ hostvars[host]['ansible_host'] }}"{% if not loop.last %}, {% endif %}{% endfor %}]
cluster.initial_master_nodes: [{% for host in groups['ecs_elasticsearch'] %}"{{ hostvars[host]['ansible_hostname'] }}"{% if not loop.last %}, {% endif %}{% endfor %}]
